package com.zy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Work implements Serializable {
    /**
     * id
     * 用户id
     * 日期
     * 开始时间
     * 结束时间
     * 出勤情况
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String date;
    private String startTime;
    private String endTime;
    private Integer onWork;
    private Integer offWork;

}